export default {
	toast(msg, Fun, time = 1500, duration = 1500, icon = 'none', mask = true) {
		uni.showToast({
			title: msg,
			icon: icon,
			duration: duration,
			mask: mask
		});
		setTimeout(() => {
			typeof Fun == "function" && Fun();
		}, time)
	}
}
